import 'package:freezed_annotation/freezed_annotation.dart';

part 'sj_oss_policy_data.g.dart';

@JsonSerializable()
class SjOssPolicyData {
  final String? accessKeyId;
  final String? policy;
  final String? signature;
  final String? expire;
  final String? dir;
  final String? host;
  final String? callback;
  SjOssPolicyData({this.accessKeyId, this.policy, this.signature, this.expire, this.dir, this.host,this.callback});

  factory SjOssPolicyData.fromJson(Map<String, dynamic> json) => _$SjOssPolicyDataFromJson(json);
  Map<String, dynamic> toJson() => _$SjOssPolicyDataToJson(this);
}
